<?php

require_once($_SERVER['DOCUMENT_ROOT'].'/mpd/config/config.php');

$id= $_GET['id'];

$query1=mysql_query("SELECT * FROM TRAINING_WAJIB WHERE ID_TRAINING_WAJIB=".$id);
while($row = mysql_fetch_array($query1)){
		
		$temp = array(
		'id' => $row['ID_TRAINING_WAJIB'],
		'nama' => $row['NAMA_TRAINING_WAJIB']
		);
		}